package com.kjj.car.service;

import com.kjj.car.domain.Car;
import com.kjj.basic.service.IBaseService;
import com.kjj.car.domain.CarResources;
import com.kjj.car.dto.CarOnsaleOrOffsaleDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kan
 * @since 2022-09-08
 */
public interface ICarService extends IBaseService<Car> {


    CarResources getResources(Long id);

    void onsale(CarOnsaleOrOffsaleDto carOnsaleOrOffsaleDto);

    void offsale(CarOnsaleOrOffsaleDto carOnsaleOrOffsaleDto);

    void delByCarId(Long id);

    void autocheck(Car car);

    void check(Car car);
}
